package cn.edu.sdjzu.xg23.kcsj01_backend.mapper;


import cn.edu.sdjzu.xg23.kcsj01_backend.entity.Patent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PatentMapper {
    //动态增加专利
    boolean addPatent(Patent patent);

    //根据专利Id动态修改专利
    boolean updatePatent(Patent patent);

    //动态条件查询专利
    List<Patent> selectPatentsByCondition(@Param("patent") Patent patent,
                                          @Param("employeeId") Long employeeId);
    //专利转化
    boolean transformPatent(Patent patent);

    //专利审核
    boolean approvePatent(Patent patent);




}
